package tech.dx.springdb.service;

import tech.dx.springdb.entity.ClassRecords;

import java.util.Optional;

/**
 * @ClassName ClassRecordsService
 * @Description TODO
 * @Author daoxuan
 * @Date 2019/4/1 11:08
 * @Version 1.0
 */
public interface ClassRecordsService {

    Optional<ClassRecords> getById(long id);

    ClassRecords add(ClassRecords classRecords);

    ClassRecords update(ClassRecords classRecords);

    void del(long id);
}
